// const { $popup } = require('../../components')

Page({
  data: {
    show: false,
  },

  formSubmit(e) {
    const { value } = e.detail
    console.log(value)
    this.setData({
      show: true,
      ...value,
    })
  },

  onTap() {
    const node = this.selectComponent('#popup')
    node.close()
  },
})
